#Cairo canvas. The following variables are available:
# * CNTX: A reference to the current cairo context object
# * W: Canvas width
# * H: Canvas height
# Have fun!

i = 0
while i < W:
    if i % 10 == 0:
        CNTX.move_to( i, 0 )
        CNTX.line_to( i, H )
        CNTX.stroke()
    i += 1

j = 0
while j < H:
    if j % 10 == 0:
        CNTX.move_to( 0, j )
        CNTX.line_to( W, j )
        CNTX.stroke()
    j += 1
